#include "form.h"
#include "ui_form.h"
#include<QPushButton>
#include "config.h"
#include "mainscene.h"
//新粘贴的
#include <QIcon>
#include <QPainter>
#include <QMouseEvent>
#include <ctime>
#include <QFont>
#include <QSound>
#include <qdialog.h>

Form::Form(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::Form)
{
    ui->setupUi(this);
    this->page1=new MainScene;
    connect(ui->go,&QPushButton::clicked,[=]()
    {
        this->hide();
        this->page1->show();
    });
}

Form::~Form()
{
    delete ui;
}
